import { RouteRecordRaw, createRouter, createWebHistory } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Index',
    component: () => import('/@/views/Index.vue'),
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('/@/views/Login.vue'),
  },
  {
    path: '/regionChose',
    name: 'RegionChose',
    component: () => import('/@/views/RegionChose.vue'),
  },
  {
    path: '/FilesOpera',
    name: 'FilesOpera',
    component: () => import('../views/FilesOpera.vue'),
  },
  {
    path: '/Postget',
    name: 'Postget',
    component: () => import('/@/views/Postget.vue'),
  },
  {
    path: '/CustomInstruct',
    name: 'CustomInstruct',
    component: () => import('/@/views/CustomInstruct.vue'),
  },
  {
    path: '/GetExcelContent',
    name: 'GetExcelContent',
    component: () => import('/@/views/GetExcelContent.vue'),
  },
  {
    path: '/Tesseract',
    name: 'Tesseract',
    component: () => import('/@/views/Tesseract.vue'),
  },
  {
    path: '/ReadTxt',
    name: 'ReadTxt',
    component: () => import('/@/views/ReadTxt.vue'),
  },
  {
    path: '/LoremPicsum',
    name: 'LoremPicsum',
    component: () => import('/@/views/LoremPicsum.vue'),
  },
  {
    path: '/ThreeDemo',
    name: 'ThreeDemo',
    component: () => import('/@/views/ThreeDemo.vue'),
  },
  {
    path: '/ThreeCase',
    name: 'ThreeCase',
    component: () => import('/@/views/ThreeCase.vue'),
  },
  {
    path: '/ThreeCaseBox',
    name: 'ThreeCaseBox',
    component: () => import('/@/views/ThreeCaseBox.vue'),
  },
  {
    path: '/TextFitsBackground',
    name: 'TextFitsBackground',
    component: () => import('/@/views/cssEffect/TextFitsBackground.vue'),
  },
  {
    path: '/Signature',
    name: 'Signature',
    component: () => import('/@/views/Signature.vue'),
  },
  {
    path: '/AutoImport',
    name: 'AutoImport',
    component: () => import('/@/views/AutoImport.vue'),
  },
  {
    path: '/ImportImg',
    name: 'ImportImg',
    component: () => import('/@/views/ImportImg.vue'),
  },
  {
    path: '/ChangeColor',
    name: 'ChangeColor',
    component: () => import('/@/views/ChangeColor.vue')
  },
  {
    path: '/CesiumDemo',
    name: 'CesiumDemo',
    component: () => import('/@/views/CesiumDemo.vue'),
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router